From: Jonas Dreßler Date: Thu, 21 Nov 2019 09:56:13 +0000 (+0700) Subject: st/icon: Reorder header file X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~220 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3b46c3910cae795b3e22195ed33bd14846856d15;p=gnome-shell.git st/icon: Reorder header file The order of the functions is currently quite messy, change the order of the headers so it makes more sense and correct a wrong argument name while at it. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/888 --- diff --git a/src/st/st-icon.h b/src/st/st-icon.h index 23083b678..f510520dc 100644 --- a/src/st/st-icon.h +++ b/src/st/st-icon.h @@ -56,19 +56,21 @@ struct _StIcon { ClutterActor* st_icon_new (void); +GIcon *st_icon_get_gicon (StIcon *icon); +void st_icon_set_gicon (StIcon *icon, + GIcon *gicon); +const gchar *st_icon_get_icon_name (StIcon *icon); +void st_icon_set_icon_name (StIcon *icon, + const gchar *icon_name); -const gchar *st_icon_get_icon_name (StIcon *icon); -void st_icon_set_icon_name (StIcon *icon, const gchar *icon_name); +const gchar *st_icon_get_fallback_icon_name (StIcon *icon); +void st_icon_set_fallback_icon_name (StIcon *icon, + const gchar *fallback_icon_name); gint st_icon_get_icon_size (StIcon *icon); -void st_icon_set_icon_size (StIcon *icon, gint size); - -void st_icon_set_gicon (StIcon *icon, GIcon *gicon); -GIcon *st_icon_get_gicon (StIcon *icon); - -void st_icon_set_fallback_icon_name (StIcon *icon, const gchar *icon_name); -const gchar *st_icon_get_fallback_icon_name (StIcon *icon); +void st_icon_set_icon_size (StIcon *icon, + gint size); G_END_DECLS